#include <GUI/Graph.h>
#include <GUI/Simple_window.h>
#include "Octagon.h"

using namespace Graph_lib;

int main(){
    Simple_window win(Point(100,100),400,300,"Ex_8");
	Octagon cr(Point(100,100),50);
    win.attach1(cr);
    win.wait_for_button();
    cr.move(50,50);
    win.wait_for_button();
    cr.set_color(Color::red);
    win.wait_for_button();
    cr.set_fill_color(Color::green);
    win.wait_for_button();
    cr.set_style(Line_style(Line_style::dashdotdot,3));
    win.wait_for_button();
}
